package com.ruoyi.project.express.api.service.baishi.sdk.kyCancelOrderNotify.request;

import com.ruoyi.project.express.api.service.baishi.sdk.BaseRequest;
import com.ruoyi.project.express.api.service.baishi.sdk.BaseResponse;
import com.ruoyi.project.express.api.service.baishi.sdk.Parser;


public class KyCancelOrderNotifyReq implements BaseRequest {
	private String logisticID;
	private String logisticCompanyID;
	private String gmtCancel;
	private String comments;

    public String getLogisticID()
    {
        return this.logisticID;
    }

    public void setLogisticID(String value)
    {
        this.logisticID = value;
    }

    public String getLogisticCompanyID()
    {
        return this.logisticCompanyID;
    }

    public void setLogisticCompanyID(String value)
    {
        this.logisticCompanyID = value;
    }

    public String getGmtCancel()
    {
        return this.gmtCancel;
    }

    public void setGmtCancel(String value)
    {
        this.gmtCancel = value;
    }

    public String getComments()
    {
        return this.comments;
    }

    public void setComments(String value)
    {
        this.comments = value;
    }

    public String obtainServiceType() {
        return "KY_CANCEL_ORDER_NOTIFY";
    }

    public BaseResponse makeResponse(String rsp, String format) {
        if ("xml".equalsIgnoreCase(format)) {
			return Parser.coverXml2Object(rsp, com.ruoyi.project.express.api.service.baishi.sdk.kyCancelOrderNotify.response.KyCancelOrderNotifyRsp.class);
		}
		return Parser.convertJson2Object(rsp, com.ruoyi.project.express.api.service.baishi.sdk.kyCancelOrderNotify.response.KyCancelOrderNotifyRsp.class);

    }

}
